package com.yugao.fintech.antelope.infra.module.group.model.rqrs;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import com.yugao.fintech.antelope.base.model.enums.DataGroupBizTypeEnum;
import com.yugao.fintech.framework.core.model.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 通用数据组
 *

 */
@Getter
@Setter
@ApiModel(value = "查询通用数据组")
public class DataGroupPageReq extends PageParam {
    /**
     * 主键, 多个之间用逗号隔开
     */
    private String ids;

    private String name;

    /**
     * @see DataGroupBizTypeEnum
     */
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private Integer bizType;

    @ApiModelProperty(value = "第二级类型, 一个类别下的再次分类")
    private String groupType;
}
